import { BasicColumn } from '@/components/Table';
export interface ListData {
  id: number;
  name: string;
  id_card: string;
  sex_text: string;
  birthday: string;
  contact_mobile: string;
  address: string;
}

export const columns: BasicColumn<ListData>[] = [
  {
    title: '编号',
    key: 'id',
    width: 100,
  },
  {
    title: '班组名称',
    key: 'name',
    width: 120,
  },
  {
    title: '负责人名称',
    key: 'director',
    width: 120,
  },
  {
    title: '联系电话',
    key: 'contact_mobile',
    width: 120,
  },
  {
    title: '身份证',
    key: 'id_card',
    width: 100,
  },
  {
    title: '出生日期',
    key: 'birthday',
    width: 120,
  },
  {
    title: '性别',
    key: 'sex_text',
    width: 120,
  },
  {
    title: '居住地址',
    key: 'address',
    width: 120,
  },
];
